﻿Public Class CartInfo
    Private _CartID As Integer
    Public Property CartId() As Integer
        Get
            Return _CartID
        End Get
        Set(ByVal value As Integer)
            _CartID = value
        End Set
    End Property
    Private _product As List(Of CartProduct)
    Public Property Product() As List(Of CartProduct)
        Get
            Return _product
        End Get
        Set(ByVal value As List(Of CartProduct))
            _product = value
        End Set
    End Property
    Private _QTY_Product As Integer
    Public Property QTY_Product() As Integer
        Get
            Return _QTY_Product
        End Get
        Set(ByVal value As Integer)
            _QTY_Product = value
        End Set
    End Property
    Private _QTY_Item As Integer
    Public Property QTY_Item() As Integer
        Get
            Return _QTY_Item
        End Get
        Set(ByVal value As Integer)
            _QTY_Item = value
        End Set
    End Property
    Private _TotalPrice As Double
    Public Property TotalPrice() As Double
        Get
            Return _TotalPrice
        End Get
        Set(ByVal value As Double)
            _TotalPrice = value
        End Set
    End Property
    Private _CartStatus As Integer
    Public Property CartStatus() As Integer
        Get
            Return _CartStatus
        End Get
        Set(ByVal value As Integer)
            _CartStatus = value
        End Set
    End Property
    Class CartProduct
        Private _CatalogId As Integer
        Public Property CatalogId() As Integer
            Get
                Return _CatalogId
            End Get
            Set(ByVal value As Integer)
                _CatalogId = value
            End Set
        End Property
        Private _CatalogName As String
        Public Property CatalogName() As String
            Get
                Return _CatalogName
            End Get
            Set(ByVal value As String)
                _CatalogName = value
            End Set
        End Property
        Private _ProductId As Integer
        Public Property ProductId() As Integer
            Get
                Return _ProductId
            End Get
            Set(ByVal value As Integer)
                _ProductId = value
            End Set
        End Property
        Private _ProductName As String
        Public Property ProductName() As String
            Get
                Return _ProductName
            End Get
            Set(ByVal value As String)
                _ProductName = value
            End Set
        End Property
        Private _imagepath As String
        Public Property ImagePath() As String
            Get
                Return _imagepath
            End Get
            Set(ByVal value As String)
                _imagepath = value
            End Set
        End Property
        Private _imagepath_Tn As String
        Public Property ImagePath_Tn() As String
            Get
                Return _imagepath_Tn
            End Get
            Set(ByVal value As String)
                _imagepath_Tn = value
            End Set
        End Property
        Private _Qty As Integer
        Public Property QTY() As Integer
            Get
                Return _Qty
            End Get
            Set(ByVal value As Integer)
                _Qty = value
            End Set
        End Property
        Private _Price As Double
        Public Property Price() As Double
            Get
                Return _Price
            End Get
            Set(ByVal value As Double)
                _Price = value
            End Set
        End Property
        Private _SumPrice As Double
        Public Property SumPrice() As Double
            Get
                Return _SumPrice
            End Get
            Set(ByVal value As Double)
                _SumPrice = value
            End Set
        End Property
    End Class
End Class
